.home-wrap {
  .search-wrap {
    display: flex;
    justify-content: space-between;
    height: 110rpx;
    // background-color: yellow;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
    padding: 0 40rpx;
    align-items: center;
    color: #fff;

    // background-color: royalblue;
    .search-input {
      display: flex;
      align-items: center;
      width: 50%;
      height: 70rpx;
      line-height: 70rpx;
      background-color: rgba(255, 255, 255, .6);
      border-radius: 35rpx;
      padding: 0 30rpx;
      font-size: 26rpx;

      .search-txt {
        margin-left: 20rpx;
      }

    }

    .icon {
      margin-right: 10rpx;
      position: relative;
      top: 6rpx;
    }

    .btn-info {
      display: flex;
      justify-content: space-evenly;
      width: 50%;
      font-size: 28rpx;

      .rank {
        margin-right: 20rpx;
      }
    }

  }

  .nav-bg {
    background-color: #fff;
    color: #000;
  }

  .search-bg {
    background-color: rgb(248, 248, 248);
    border: solid 1px rgb(224, 224, 224)
  }
}

.main-wrap {
  .recommended {
    position: relative;
    top: -12rpx;
    .tab-box {
      display: flex;
      background-color: #fff;
      border-top-left-radius: 30rpx;
      border-top-right-radius: 30rpx;
      padding-top: 20rpx;
      padding-left: 20rpx;
      justify-content: space-evenly;
      .tab-item{
        margin-right: 30rpx;
        text-align: center;
        width: 120rpx;
        .img{
          padding-left: 8rpx;
          width: 100rpx;
          image{
            width: 100%;
          }
        }
        .title{
          font-size: 22rpx;
        }
      }
    }
  }

}

.main-box {
  margin-top: 10rpx;
  padding: 0 30rpx;

  .page-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80rpx;
    line-height: 80rpx;

    // background-color: red;
    .title {
      font-weight: 600;
    }

    .more {
      font-size: 20rpx;
      color: #979799;
      background-color: #f2f2f8;
      border-top-left-radius: 10rpx;
      height: 30rpx;
      line-height: 30rpx;
      padding: 0 10rpx;

      .icon {
        width: 20rpx;
        height: 20rpx;
        position: relative;
        top: 5rpx;
      }
    }
  }

  .page-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;

    .box-item {
      position: relative;
      margin: 0 30rpx 30rpx 0;
      width: calc(90% / 3);
      min-width: calc(90% / 3);
      max-width: calc(90% / 3);

      &:nth-child(3n) {
        margin-right: 0;
      }

      .info-name {
        font-size: 26rpx;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .info-title {
        font-size: 20rpx;
        color: #999999;
        margin-top: 10rpx;
      }

      .img-item {
        width: 100%;
        border-radius: 10rpx;
      }
    }
  }
}